var express = require('express');
var router = express.Router();
var park = require('../controller/park');
/**
 *	首页
 */
router.get('/', function (req, res, next) {
	res.redirect('/web/templates/');
});

/**
 *	API
 */
router.get('/getParkList', park.getParkList);

router.get('/getParkCount', park.getParkCount);

router.get('/getParkListByKey', park.getParkListByKey);

module.exports = router;
